package com.unbox.auth;

import com.unbox.common.configuration.message.UnBoxMessageLocaleAutoConfiguration;
import com.unbox.common.configuration.sentinel.UnBoxSentinelAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import(value = {
        UnBoxSentinelAutoConfiguration.class,
        UnBoxMessageLocaleAutoConfiguration.class, //国际化配置
})
@EnableFeignClients({
        "com.unbox.admin.fegin"
})
@ComponentScans({
        @ComponentScan("com.unbox.admin")
})
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }
}
